﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Specialized;

namespace DR5.SPExtend
{
    public static class NameValueCollectionExtension
    {
        public static string CommaSeparatedString(this NameValueCollection nvc, string seprationStr)
        {
            string str = string.Empty;
            foreach (string key in nvc.Keys)
            {
                str += key + " : " + nvc[key] + seprationStr;
            }
            return str;
        }
    }
}
